package com.xuecheng.system.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
@TableName("tb_user")
public class User implements Serializable {

    //type--id的获取类型
    @TableId(value="id",type= IdType.AUTO)
    private Long id;

    private String phone;

    private String password;

    private String name;

    private Long companyId;

    private String companyName;

    private String userpic;

    private String utype;

    private Date birthday;

    private String sex;

    /**
     * 用户状态
     */
    private Integer status;

    /**
     * 个人简介
     */
    private String intro;

    private Date createDate;
}
